import { createWebHistory, createRouter, createWebHashHistory } from "vue-router";
/* Layout */

// 公共路由
export const constantRoutes = [
  { path: '/', component: () => import("@/views/home"), },
  { path: '/about', component:  () => import("@/views/about"), },
];


const router = createRouter({
  history: createWebHashHistory(),
  routes: constantRoutes,
});

export default router;
